Conversation
I've updated this so it cleverly uses bash parameter expansion to conditionally include the current word and a space only if it starts with a hyphen.
|
|
|
|
|
Hey @Montana 👋. Thanks for submitting the PR! I'm really sorry it's taken so long for me to get around to testing :[ That said, I have tested on my local and I'm not sure it's working as intended. When I type If I try the same thing with the existing bash_completion script I get the intended output (listing the currently available commands - in this case just Let me know if I'm doing something wrong. As my username reflects, I can be pretty thick skulled at times. |
I've updated this so it cleverly uses bash parameter expansion to conditionally include the current word and a space only if it starts with a hyphen.